package com.codechenxi.mqtt.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author codechenxi
 * @description
 * @since 2024/11/14 16:22
 */

@Data
@ConfigurationProperties(prefix = "spring.mqtt")
@ComponentScan(basePackages = {"com.codechenxi.mqtt"})
public class MqttConfigurationProperties {

    private String username;
    private String password;
    private String url;
    private String subClientId ;
    private String subTopic ;
    private String pubClientId ;

}